<?php 	$this->load->helper('form');
	    $form = array(
	    	'class' => 'form', 
	    	'id' 	=> 'login');
	    $Submit = array(
	    	'name' => 'Submit', 
	    	'target' 	=> 'content');
	    echo form_open('active/get_activebyId',$form);
	    echo form_label('活动ID');	    
	    echo form_input('activeId');
	    echo form_submit('mysubmit', '搜索!');
	    echo '<br/><h3 align="center"> 活动列表<h3>';
	    echo '<table border="1" align="center">';
	    ?>
<?php foreach ($active as $active_item): ?>
<tr>
    <td><?php echo $active_item['active_id']; ?></td>
    <td><?php echo $active_item['Start_date']; ?></td>
    <td><?php echo $active_item['End_date']; ?></td>
    <td><?php echo $active_item['require_sign']; ?></td>
    <td><?php echo $active_item['admin']; ?></td>
    <td><?php echo $active_item['title']; ?></td>
 </tr>
<?php endforeach; ?>
<?php echo '</table>';?>